package com.mcc.app.common;

import com.mcc.app.cache.domain.HisCol;
import com.mcc.app.cache.domain.PlcCache;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface IAgentService {

    List<HisCol> getHisColListByCode(PlcCache plcCache, Date startDt, Date endDt, Integer timeTag);

    List<HisCol> getHisColListByCode(PlcCache plcCache, Date startDt, Date endDt, Integer timeTag, int hour,int minute, int sec);

    List<HisCol> getHisColListByCode(PlcCache plcCache, Date startDt, Date endDt, Integer timeTag, int topNum, String order);

    List<HisCol> getHisStatusListByCode(String code, Date startDt, Date endDt);

    Map<String, Object> getHisTable(List<PlcCache> cacheList, String tableTag, Integer timeTag, Date startDt, Date endDt, Integer pageNum, Integer pageSize);
}
